/*
 * @Date: 2024-08-23 16:35:23
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2025-04-10 17:24:02
 * @Description: 数字输入
 */
export default {
  type: 'number',
  icon: 'number-field',
  order: 190,
  enabled: true,
  formItemFlag: true,
  options: {
    // ----- 补充字段
    code: '', // 表单回显，字段编码
    dataField: '', // 数据字段，存储使用
    // ----- 原始字段
    name: '',
    label: '',
    labelAlign: '',
    defaultValue: 0,
    placeholder: '',
    columnWidth: '200px',
    size: '',
    labelWidth: null,
    labelHidden: false,
    disabled: false,
    hidden: false,
    configType: 0,
    required: false,
    requiredHint: '',
    validation: '',
    validationHint: '',
    // ----------------- 自定义功能
    amtConverUnit: 10000,
    enabledAmtConver: false,
    // -------------------
    customClass: '',  //自定义css类名
    // labelIconClass: null,
    // labelIconPosition: 'rear',
    // labelTooltip: null,
    min: -100000000000,
    max: 100000000000,
    step: 1,
    precision: 0,
    controlsPosition: 'right',
    //-------------------
    onCreated: '',
    onMounted: '',
    onChange: '',
    // onFocus: '',
    onBlur: '',
    onValidate: '',
  },
}